home *** CD-ROM | disk | FTP | other *** search
- on(press){
- checknum = eval("/control:checknum");
- num = _name.substr("6","-1");
- erasing = eval("/control:erasing");
- if(enable >= "1")
- {
- if(erasing != "1")
- {
- while("31" >= numall)
- {
- numall += "1";
- tellTarget("/brick" add numall)
- {
- gotoAndStop(1);
- }
- }
- numall = "0";
- if(eval("face:face") == eval("/control:checkface"))
- {
- tellTarget("/brick" add checknum)
- {
- click = "0";
- gotoAndPlay(3);
- }
- setProperty("/shadow" add checknum, _visible, "0");
- setProperty("/shadow" add num, _visible, "0");
- click = "1";
- gotoAndPlay(3);
- }
- gotoAndStop(2);
- }
- }
- }
-